sgdk: AnimationFrame Struct Reference

sgdk

- Main Page
- Related Pages
- Classes
- Files

- Class List

Public Attributes
AnimationFrame Struct Reference

`#include <sprite_eng.h>`

List of all members.

## Public Attributes

u16 | numSprite
FrameSprite ** | frameSprites
u16 | numCollision
void ** | collisions
s16 | w
s16 | h
u8 | tc
u8 | timer

## Detailed Description

Sprite animation frame structure.

Parameters:

  numSprite | number of sprite which compose this frame
  frameSprites | sprites composing the frame
  numCollision | number of collision structure for this frame
  collisions | collisions structures (can be either Box or Circle)
  w | frame width in pixel
  h | frame height in pixel
  tc | collision type, accepted values are: COLLISION_TYPE_NONE COLLISION_TYPE_BOX COLLISION_TYPE_CIRCLE
  timer | active time for this frame (in 1/60 of second)

The documentation for this struct was generated from the following file:

- sprite_eng.h

All Classes Files Functions Variables Typedefs Enumerations Defines